#pragma once

/**
* @file Game.h
* @brief Todo
*/

#include "Common.h"

// Engine includes
#include "Character.h"
#include "Engine.h"
#include "Sprite.h"
#include "Text.h"

class Game : public Component
{
	public:
		enum Players
		{
			PLAYER_1 = 0,
			PLAYER_2 = 1,
		};

		 Game();
		~Game();

		void Notify(const InputEvent& event);
		void Update(unsigned int t);

	protected:
		void SpawnCharacter(Players num, int x, int y);

	private:
		std::vector<Character*> players;
		Sprite* element0;
		Sprite* element1;
		Sprite* element2;

		Text* live0;
		int currentLive0;

		Text* live1;
		int currentLive1;
};